#!/usr/bin/env python
#
# String operations

b = "the"
c = "cat"
d = " is on the mat"
a = b + " " + c + d
print (a)
b = b + " "
a = b * 5
print (a)
print ("The first character of", c, "is" ,c[0])
print ("The word \""+ c+ "\" has", len(c) ,"characters")

name = input("Please, type in your name ")
print("max ", max(name))
print("min ", min(name))

name = (name + "!") * len(name)
print (name) 
